﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.S.BaseData.Domain
{
    /// <summary>
    /// 主表
    /// </summary>
    public class Main
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Key]
        public int MainId {  get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        public bool Sex {  get; set; }
        /// <summary>
        /// 省份id
        /// </summary>
        public string EconomizeName {  get; set; }
        /// <summary>
        /// 市id
        /// </summary>
        public string MarketName {  get; set; }
        /// <summary>
        /// 县id
        /// </summary>
        public string CityName {  get; set; }
        /// <summary>
        /// 地址详情
        /// </summary>
        public string Address {  get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public int UserId {  get; set; }
        /// <summary>
        /// 创建日期
        /// </summary>
        public DateTime CreateTime { get; set; } = DateTime.Now;
        /// <summary>
        /// 修改人
        /// </summary>
        public int? modifyId {  get; set; }
        /// <summary>
        /// 修改日期
        /// </summary>
        public string? UpdateTime { get; set; }
        /// <summary>
        /// 是否删除
        /// </summary>
        public bool IsDelete { get; set; } = false;
    }
}
